package com.example.coder_voucher.dto;

import jakarta.validation.constraints.NotBlank;

public class ClaimVoucherRequest {
    
    @NotBlank(message = "Username is required")
    private String username;
    
    @NotBlank(message = "Voucher code is required")
    private String voucherCode;
    
    public ClaimVoucherRequest() {}
    
    public ClaimVoucherRequest(String username, String voucherCode) {
        this.username = username;
        this.voucherCode = voucherCode;
    }
    
    // Getters and Setters
    public String getUsername() {
        return username;
    }
    
    public void setUsername(String username) {
        this.username = username;
    }
    
    public String getVoucherCode() {
        return voucherCode;
    }
    
    public void setVoucherCode(String voucherCode) {
        this.voucherCode = voucherCode;
    }
}